package com.yiwyn.springhotprod.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.stereotype.Service;

@Slf4j
@Service
@EnableAsync
public class ProxyService {


    @Async
    public String proxy() {
        log.info("这个类Spring会被代理-arthas修改");
        return "proxy";
    }

}
